package com.service;

import com.entity.Classroom;

import java.util.List;

/**
 * @Author zhangfoshou
 * @Since 2016/1/7
 */
public interface IClassRoomService {

    /**
     * 查询所有教室信息
     *
     * @return
     * @author foshou.zhang
     */
    List<Classroom> selectAll();

    /**
     * 更新教室
     *
     * @param classroom
     * @author foshou.zhang
     */
    void update(Classroom classroom);

    /**
     * 通过ID查询教室
     *
     * @param id
     * @return
     * @author foshou.zhang
     */
    Classroom selectById(Integer id);
}
